---
layout: m1x_rest
title: Order Items
---



<ul class="introduction-menu">
    <li><a href='#RESTAPI-Resource-OrderItems-RESTAPI-OrderItems'>REST API: Order Items</a>
    <ul>
        <li><a href='#RESTAPI-Resource-OrderItems-URI--orders--orderId-items'>URI: /orders/:orderId/items</a>
        <ul>
            <li><a href='#RESTAPI-Resource-OrderItems-HTTPMethod-GET'>HTTP Method: GET</a></li>
            <li><a href='#RESTAPI-Resource-OrderItems-HTTPMethod-POST'>HTTP Method: POST</a></li>
            <li><a href='#RESTAPI-Resource-OrderItems-HTTPMethod-PUT'>HTTP Method: PUT</a></li>
            <li><a href='#RESTAPI-Resource-OrderItems-HTTPMethod-DELETE'>HTTP Method: DELETE</a></li>
        </ul>
        </li>
    </ul>
    </li>
</ul>


<h3><a name="RESTAPI-Resource-OrderItems-RESTAPI-OrderItems"></a>REST API: Order Items</h3>

<h4><a name="RESTAPI-Resource-OrderItems-URI--orders--orderId-items"></a>URI: /orders/:orderId/items</h4>

<p>Allows you to retrieve information about order items.</p>

<p><b>URL Structure</b>: http://magentohost/api/rest/orders/:orderId/items<br/>
<b>Version</b>: 1</p>

<h5><a name="RESTAPI-Resource-OrderItems-HTTPMethod-GET"></a>HTTP Method: GET</h5>

<p><b>Description</b>: Allows you to retrieve the list of existing order items with detailed items information.<br/>
<b>Notes</b>: The list of attributes that will be returned for order items is configured in the Magento Admin Panel.</p>

<p><b>Authentication</b>: Admin<br/>
<b>Default Format</b>: XML<br/>
<b>Parameters</b>:<br/>
<em>No Parameters</em></p>

<p><b>Response Example: XML</b></p>

<div class='panelMacro'><table class='infoMacro'><tr><td>GET http://magentohost/api/rest/orders/410/items</td></tr></table></div>

<p><b>Response Body:</b></p>
<div class="panel" style="border-width: 1px;"><div class="panelContent">
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<div>
		<pre class="theme: Default; brush: java; gutter: false">&lt;?xml version="1.0"?&gt;
&lt;magento_api&gt;
  &lt;data_item&gt;
    &lt;item_id&gt;43&lt;/item_id&gt;
    &lt;parent_item_id&gt;&lt;/parent_item_id&gt;
    &lt;sku&gt;Sunglasses_1&lt;/sku&gt;
    &lt;name&gt;Sunglasses 1&lt;/name&gt;
    &lt;qty_canceled&gt;0.0000&lt;/qty_canceled&gt;
    &lt;qty_invoiced&gt;0.0000&lt;/qty_invoiced&gt;
    &lt;qty_ordered&gt;3.0000&lt;/qty_ordered&gt;
    &lt;qty_refunded&gt;0.0000&lt;/qty_refunded&gt;
    &lt;qty_shipped&gt;0.0000&lt;/qty_shipped&gt;
    &lt;price&gt;74.9137&lt;/price&gt;
    &lt;base_price&gt;106.0050&lt;/base_price&gt;
    &lt;original_price&gt;106.0050&lt;/original_price&gt;
    &lt;base_original_price&gt;150.0000&lt;/base_original_price&gt;
    &lt;tax_percent&gt;8.2500&lt;/tax_percent&gt;
    &lt;tax_amount&gt;26.2500&lt;/tax_amount&gt;
    &lt;base_tax_amount&gt;37.1400&lt;/base_tax_amount&gt;
    &lt;discount_amount&gt;212.0100&lt;/discount_amount&gt;
    &lt;base_discount_amount&gt;300.0000&lt;/base_discount_amount&gt;
    &lt;row_total&gt;318.0300&lt;/row_total&gt;
    &lt;base_row_total&gt;450.0000&lt;/base_row_total&gt;
    &lt;price_incl_tax&gt;114.7550&lt;/price_incl_tax&gt;
    &lt;base_price_incl_tax&gt;162.3800&lt;/base_price_incl_tax&gt;
    &lt;row_total_incl_tax&gt;344.2650&lt;/row_total_incl_tax&gt;
    &lt;base_row_total_incl_tax&gt;487.1400&lt;/base_row_total_incl_tax&gt;
    &lt;status&gt;Ordered&lt;/status&gt;
  &lt;/data_item&gt;
  &lt;data_item&gt;
    &lt;item_id&gt;44&lt;/item_id&gt;
    &lt;parent_item_id&gt;&lt;/parent_item_id&gt;
    &lt;sku&gt;test_simple_product&lt;/sku&gt;
    &lt;name&gt;test simple product&lt;/name&gt;
    &lt;qty_canceled&gt;0.0000&lt;/qty_canceled&gt;
    &lt;qty_invoiced&gt;0.0000&lt;/qty_invoiced&gt;
    &lt;qty_ordered&gt;10.0000&lt;/qty_ordered&gt;
    &lt;qty_refunded&gt;0.0000&lt;/qty_refunded&gt;
    &lt;qty_shipped&gt;0.0000&lt;/qty_shipped&gt;
    &lt;price&gt;249.7124&lt;/price&gt;
    &lt;base_price&gt;353.3500&lt;/base_price&gt;
    &lt;original_price&gt;353.3500&lt;/original_price&gt;
    &lt;base_original_price&gt;500.0000&lt;/base_original_price&gt;
    &lt;tax_percent&gt;8.2500&lt;/tax_percent&gt;
    &lt;tax_amount&gt;291.5000&lt;/tax_amount&gt;
    &lt;base_tax_amount&gt;412.5000&lt;/base_tax_amount&gt;
    &lt;discount_amount&gt;706.7000&lt;/discount_amount&gt;
    &lt;base_discount_amount&gt;1000.0000&lt;/base_discount_amount&gt;
    &lt;row_total&gt;3533.5000&lt;/row_total&gt;
    &lt;base_row_total&gt;5000.0000&lt;/base_row_total&gt;
    &lt;price_incl_tax&gt;382.5000&lt;/price_incl_tax&gt;
    &lt;base_price_incl_tax&gt;541.2500&lt;/base_price_incl_tax&gt;
    &lt;row_total_incl_tax&gt;3825.0000&lt;/row_total_incl_tax&gt;
    &lt;base_row_total_incl_tax&gt;5412.5000&lt;/base_row_total_incl_tax&gt;
    &lt;status&gt;Ordered&lt;/status&gt;
  &lt;/data_item&gt;
&lt;/magento_api&gt;</pre>
		</div>
</div></div>
</div></div>



<p><b>Authentication</b>: Customer<br/>
<b>Default Format</b>: XML<br/>
<b>Parameters</b>:<br/>
<em>No Parameters</em></p>

<p><b>Response Example: XML</b></p>

<div class='panelMacro'><table class='infoMacro'><tr><td>GET http://magentohost/api/rest/orders/410/items</td></tr></table></div>

<p><b>Response Body:</b></p>
<div class="panel" style="border-width: 1px;"><div class="panelContent">
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<div>
		<pre class="theme: Default; brush: java; gutter: false">&lt;?xml version="1.0"?&gt;
&lt;magento_api&gt;
  &lt;data_item&gt;
    &lt;item_id&gt;43&lt;/item_id&gt;
    &lt;parent_item_id&gt;&lt;/parent_item_id&gt;
    &lt;sku&gt;Sunglasses_1&lt;/sku&gt;
    &lt;name&gt;Sunglasses 1&lt;/name&gt;
    &lt;qty_canceled&gt;0.0000&lt;/qty_canceled&gt;
    &lt;qty_invoiced&gt;0.0000&lt;/qty_invoiced&gt;
    &lt;qty_ordered&gt;3.0000&lt;/qty_ordered&gt;
    &lt;qty_refunded&gt;0.0000&lt;/qty_refunded&gt;
    &lt;qty_shipped&gt;0.0000&lt;/qty_shipped&gt;
    &lt;price&gt;74.9137&lt;/price&gt;
    &lt;row_total&gt;318.0300&lt;/row_total&gt;
    &lt;price_incl_tax&gt;114.7550&lt;/price_incl_tax&gt;
    &lt;row_total_incl_tax&gt;344.2650&lt;/row_total_incl_tax&gt;
  &lt;/data_item&gt;
  &lt;data_item&gt;
    &lt;item_id&gt;44&lt;/item_id&gt;
    &lt;parent_item_id&gt;&lt;/parent_item_id&gt;
    &lt;sku&gt;test_simple_product&lt;/sku&gt;
    &lt;name&gt;test simple product&lt;/name&gt;
    &lt;qty_canceled&gt;0.0000&lt;/qty_canceled&gt;
    &lt;qty_invoiced&gt;0.0000&lt;/qty_invoiced&gt;
    &lt;qty_ordered&gt;10.0000&lt;/qty_ordered&gt;
    &lt;qty_refunded&gt;0.0000&lt;/qty_refunded&gt;
    &lt;qty_shipped&gt;0.0000&lt;/qty_shipped&gt;
    &lt;price&gt;249.7124&lt;/price&gt;
    &lt;row_total&gt;3533.5000&lt;/row_total&gt;
    &lt;price_incl_tax&gt;382.5000&lt;/price_incl_tax&gt;
    &lt;row_total_incl_tax&gt;3825.0000&lt;/row_total_incl_tax&gt;
  &lt;/data_item&gt;
&lt;/magento_api&gt;</pre>
		</div>
</div></div>
</div></div>

<h5><a name="RESTAPI-Resource-OrderItems-HTTPMethod-POST"></a>HTTP Method: POST</h5>

<p><b>Description</b>: Not allowed.</p>

<h5><a name="RESTAPI-Resource-OrderItems-HTTPMethod-PUT"></a>HTTP Method: PUT</h5>

<p><b>Description</b>: Not allowed.</p>

<h5><a name="RESTAPI-Resource-OrderItems-HTTPMethod-DELETE"></a>HTTP Method: DELETE</h5>

<p><b>Description</b>: Not allowed.</p>

				    

		    
